@extends('layout/default')

@section('content')
<div class="container ">
    <div clas="row ">
        <form>

            <div class="col-xs-12">
                <div class="">
                    @foreach($datas as $v)
                    <a href="{{URL::to('fight/'.$v->FAFID.'/detail')}}">
                        <div class="col-xs-12" style="position: relative">

                            <div>
                                {{$v->FTitle}}[{{$v->FBeginAt}}]
                            </div>
                        </div>

                    </a>

                    <div class="col-xs-12 list-content">
                        我的留言：{{$v->FAMessage}}
                        <br/>
                        申请结果：
                        <select class="status" data-value="{{$v->FAID}}" disabled="">
                            <option value="0"
                            @if($v->FARes==0) selected="" @endif>未查看</option>
                            <option value="1"
                            @if($v->FARes==1) selected="" @endif>不同意</option>
                            <option value="2"
                            @if($v->FARes==2) selected="" @endif>同意</option>
                        </select>
                        <hr/>
                    </div>
                    @endforeach
                </div>
                <?php echo $datas->render(); ?>
            </div>


        </form>
    </div>

</div>
@endsection
